package com.entity;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class China implements Person{

    private double height;
    private String[] pets;
    private boolean sex;
    private Usa usa;
    private List<String> likes;
    private List<Usa> usas;
    private Map<String,String> cunkuan;

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public String[] getPets() {
        return pets;
    }

    public void setPets(String[] pets) {
        this.pets = pets;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    public Usa getUsa() {
        return usa;
    }

    public void setUsa(Usa usa) {
        this.usa = usa;
    }

    public List<String> getLikes() {
        return likes;
    }

    public void setLikes(List<String> likes) {
        this.likes = likes;
    }

    public List<Usa> getUsas() {
        return usas;
    }

    public void setUsas(List<Usa> usas) {
        this.usas = usas;
    }

    public Map<String, String> getCunkuan() {
        return cunkuan;
    }

    public void setCunkuan(Map<String, String> cunkuan) {
        this.cunkuan = cunkuan;
    }

    @Override
    public String toString() {
        return "China{" +
                "height=" + height +
                ", pets=" + Arrays.toString(pets) +
                ", 是男人吗=" + sex +
                ", usa=" + usa +
                ", likes=" + likes +
                ", usas=" + usas +
                ", cunkuan=" + cunkuan +
                '}';
    }

    @Override
    public void eat() {
        System.out.println("吃大熊猫");
    }
}
